$OpenBSD: patch-Magick++_lib_ImageMagick++_pc_in,v 1.4 2015/11/06 20:37:21 sthen Exp $
--- Magick++/lib/ImageMagick++.pc.in.orig	Sat Oct 10 11:45:02 2015
+++ Magick++/lib/ImageMagick++.pc.in	Fri Oct 30 00:14:49 2015
@@ -1,14 +1,14 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
-includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@
-includearchdir=@INCLUDEARCH_DIR@/ImageMagick-@MAGICK_MAJOR_VERSION@
+includedir=@includedir@/ImageMagick
+includearchdir=@INCLUDEARCH_DIR@/ImageMagick
 libname=Magick++-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
  
 Name: ImageMagick++
 Description: Magick++ - C++ API for ImageMagick (ABI @MAGICK_ABI_SUFFIX@)
 Version: @PACKAGE_VERSION@
 Requires: MagickWand
-Libs: -L${libdir} -l${libname}
-Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
+Libs: -L${libdir} -L${X11BASE}/lib -l${libname}
+Libs.private: -L${libdir} -L${X11BASE}/lib -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
 Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
